package com.aim.azure;

import com.aim.analysis.artifact.ExperimentDate;
import com.microsoft.windowsazure.services.table.client.TableServiceEntity;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: User
 * Date: 5/27/14
 * Time: 11:05 PM
 * To change this template use File | Settings | File Templates.
 */
public class AzureGameRecordEntity extends TableServiceEntity {

    public String PartitionKey;
    public String RowKey;
    public Date Timestamp;
    public String GameDescription;
    public String GameNumber;
    public String Time;
    public String SequenceNumber;
    public String Score;
    public String MechanicalCondition;
    public String FuelLevel;
    public String MsgType;
    public String MsgName;
    public String Content;

    public ExperimentDate experimentDate;


    public AzureGameRecordEntity(String lastName, String firstName) {
        this.PartitionKey = lastName;
        this.RowKey = firstName;
    }

    public AzureGameRecordEntity() {
    }

    public void setPartitionKey(String partitionKey) {
        PartitionKey = partitionKey;
    }

    public String getPartitionKey() {
        return PartitionKey;
    }

    public void setRowKey(String rowKey) {
        RowKey = rowKey;
    }

    public void setTimestamp(Date timestamp) {
        Timestamp = timestamp;
    }

    public String getGameDescription() {
        return GameDescription;
    }

    public void setGameDescription(String gameDescription) {
        GameDescription = gameDescription;
    }

    public String getGameNumber() {
        return GameNumber;
    }

    public void setGameNumber(String gameNumber) {
        GameNumber = gameNumber;
    }

    public String getTime() {
        return Time;
    }

    public void setTime(String time) {
        Time = time;
    }

    public String getSequenceNumber() {
        return SequenceNumber;
    }

    public void setSequenceNumber(String sequenceNumber) {
        SequenceNumber = sequenceNumber;
    }

    public String getScore() {
        return Score;
    }

    public void setScore(String score) {
        Score = score;
    }

    public String getMechanicalCondition() {
        return MechanicalCondition;
    }

    public void setMechanicalCondition(String mechanicalCondition) {
        MechanicalCondition = mechanicalCondition;
    }

    public String getFuelLevel() {
        return FuelLevel;
    }

    public void setFuelLevel(String fuelLevel) {
        FuelLevel = fuelLevel;
    }

    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

    public String getMsgName() {
        return MsgName;
    }

    public void setMsgName(String msgName) {
        MsgName = msgName;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public ExperimentDate getExperimentDate() {
        return experimentDate;
    }

    public void setExperimentDate(ExperimentDate experimentDate) {
        this.experimentDate = experimentDate;
    }

    @Override
    public String toString() {
        return "AzureGameRecordEntity{" +
                "PartitionKey='" + PartitionKey + '\'' +
                ", Timestamp='" + Timestamp + '\'' +
                ", GameDescription='" + GameDescription + '\'' +
                ", GameNumber='" + GameNumber + '\'' +
                ", Time='" + Time + '\'' +
                ", SequenceNumber='" + SequenceNumber + '\'' +
                ", Score='" + Score + '\'' +
                ", MechanicalCondition='" + MechanicalCondition + '\'' +
                ", FuelLevel='" + FuelLevel + '\'' +
                ", MsgType='" + MsgType + '\'' +
                ", MsgName='" + MsgName + '\'' +
                ", Content='" + Content + '\'' +
                '}';
    }
}